import os
import requests
import pytest
import logging
from log import caiji_log
from mail import send_mail
if __name__ == '__main__':
    caiji_log()
    pytest.main(['-s','test_case.py','--alluredir=./测试数据','--clean-alluredir'])
    os.system("allure generate ./测试数据 -o ./测试报告 --clean")
    send_mail(["bbbwwwqqq.log",'./测试报告/xian.html'])